package com.zs.usc.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;
import com.fasterxml.jackson.annotation.JsonValue;

public enum DataStatuses implements IEnum<Integer> {

    Disable(0, "禁用"),
    Enable(1, "可用");

    @JsonValue
    private Integer value;

    private String name;

    DataStatuses(Integer value, String name) {
        this.value = value;
        this.name = name;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }


}
